type crypto/hpke.dhKEM
16 uses
crypto/hpke (current package)
kem.go#L108: type dhKEM struct {
kem.go#L117: func (kem *dhKEM) extractAndExpand(dhKey, kemContext []byte) ([]byte, error) {
kem.go#L126: func (kem *dhKEM) ID() uint16 {
kem.go#L130: func (kem *dhKEM) encSize() int {
kem.go#L134: var dhKEMP256 = &dhKEM{HKDFSHA256(), 0x0010, ecdh.P256(), 32, 32, 65}
kem.go#L135: var dhKEMP384 = &dhKEM{HKDFSHA384(), 0x0011, ecdh.P384(), 48, 48, 97}
kem.go#L136: var dhKEMP521 = &dhKEM{HKDFSHA512(), 0x0012, ecdh.P521(), 64, 66, 133}
kem.go#L137: var dhKEMX25519 = &dhKEM{HKDFSHA256(), 0x0020, ecdh.X25519(), 32, 32, 32}
kem.go#L187: kem *dhKEM
kem.go#L205: kem, ok := DHKEM(pub.Curve()).(*dhKEM)
kem.go#L215: func (kem *dhKEM) NewPublicKey(data []byte) (PublicKey, error) {
kem.go#L259: kem *dhKEM
kem.go#L278: kem, ok := DHKEM(priv.Curve()).(*dhKEM)
kem.go#L288: func (kem *dhKEM) GenerateKey() (PrivateKey, error) {
kem.go#L296: func (kem *dhKEM) NewPrivateKey(ikm []byte) (PrivateKey, error) {
kem.go#L304: func (kem *dhKEM) DeriveKeyPair(ikm []byte) (PrivateKey, error) {
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |